package test;


import java.util.Scanner;

public class exercise_2 {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int[] arr = new int [10];
		for(int i=0;i<arr.length;i++) {
			System.out.print("please input an integer:");
			arr[i]=in.nextInt();
		}
		System.out.println("end");
		System.out.println("guess:");
		int guess = in.nextInt(); 
		int flag = 0;
		for(int i=0;i<arr.length;i++) {
			if(arr[i]==guess) {
				flag=1;
				System.out.println(i);
			}
		}
		if (flag == 0) {
			System.out.println("exclude");
		}

	}

}
